package com.example.inner;

public class Main {
    public static void main(String[] args) {
        A a = new A();
        B b = new B();
        C c = new C();
        A.D d = a.new D(); // 由外部类对象调用构造方法
        a.fun1();
        System.out.println("===========");
        d.fun2();
    }
}
